package com.hc.tenant.domain;

import com.hc.common.core.annotation.Excel;
import com.hc.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 机器人设置对象 t_robot_setting
 * 
 * @author yongjianz
 * @date 2021-03-27
 */
public class RobotSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机器人编号 */
    private Long robotId;

    /** 关联账号 */
    @Excel(name = "关联账号")
    private Long userId;

    /** 机器人名称 */
    @Excel(name = "机器人名称")
    private String robotName;

    /** 开启语音控制 */
    @Excel(name = "开启语音控制")
    private Integer voiceControl;

    /** 播报者 */
    @Excel(name = "播报者")
    private String announcer;

    public void setRobotId(Long robotId) 
    {
        this.robotId = robotId;
    }

    public Long getRobotId() 
    {
        return robotId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRobotName(String robotName) 
    {
        this.robotName = robotName;
    }

    public String getRobotName() 
    {
        return robotName;
    }
    public void setVoiceControl(Integer voiceControl) 
    {
        this.voiceControl = voiceControl;
    }

    public Integer getVoiceControl() 
    {
        return voiceControl;
    }
    public void setAnnouncer(String announcer) 
    {
        this.announcer = announcer;
    }

    public String getAnnouncer() 
    {
        return announcer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("robotId", getRobotId())
            .append("userId", getUserId())
            .append("robotName", getRobotName())
            .append("voiceControl", getVoiceControl())
            .append("announcer", getAnnouncer())
            .toString();
    }
}
